/*
 * @Author: wangqi 2629519506@qq.com
 * @Date: 2023-05-05 15:18:00
 * @LastEditors: cgl
 * @LastEditTime: 2023-08-02 14:09:50
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\slides\inspect.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
// 查询滑片检测分页列表
export function querydetectionList(data) {
  return request({
    url: '/biz/slide/detection/list',
    method: 'post',
    data,
  })
}
// 新增滑片检测
export function detectionAdd(data) {
  return request({
    url: '/biz/slide/detection/add',
    method: 'post',
    data,
  })
}

// 滑片检测登记查看
export function slidesDetectionList(data) {
  return request({
    url: '/biz/slide/detection/slidesDetectionList',
    method: 'post',
    data
  })
}
// 滑片检测登记查看
export function getSlidesDetectionInfo(taskPersonalResultId) {
  return request({
    url: '/biz/slide/detection/getSlidesDetectionInfo/' + taskPersonalResultId,
    method: 'get',
  })
}
// 获取环境信息
export function getEnvironment() {
  return request({
    url: '/basic/environment/current',
    method: 'get',
  })
}
// 检测设备列表
export function equipmentListing() {
  return request({
    url: '/biz/equipment/listing',
    method: 'get',
  })
}
// 删除检测结果
export function detectionRemove(PersonalResultId) {
  return request({
    url: '/biz/slide/detection/remove/' + PersonalResultId,
    method: 'get',
  })
}
// 检测设备列表2
export function equipmentListingForDosimeter() {
  return request({
    url: '/basic/equipment/listingForDosimeter',
    method: 'get',
  })
}
